package com.iris.dubbo.config;

import org.springframework.beans.factory.annotation.Value;

/**
 * @Description
 * @author: Victor.Xiao
 * @create: 2018-09-04 16:58
 **/
public class ConfigBean {
    @Value("${timeout:100}")
    private int timeout;
    private int batch;

    @Value("${batch:200}")
    public void setBatch(int batch) {
        this.batch = batch;
    }

    public int getTimeout() {
        return timeout;
    }

    public int getBatch() {
        return batch;
    }
}
